package com.tbit.uqbike.client.pojo.newEntity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 坏账
 *
 * @author <a href="mailto:yixingang@tbit.com.cn">yee_</a>
 * @version 1.0
 * @see <a href="#">#</a>
 * @since 2024/5/21
 */
@Data
@NoArgsConstructor
public class BadOrder {

    /**
     * 品牌id
     */
    private Integer brandId;

    /**
     * 区域id
     */
    private Integer accountId;

    /**
     * 金额
     */
    private Long money;

    /**
     * 1：收入2：支出
     */
    private Integer businessType;

    /**
     * 坏账时间
     */
    private Date badDateTime;

    /**
     * 操作人id
     */
    private Integer operatorId;

    /**
     * 操作人名称
     */
    private String operatorName;

    /**
     * 操作人手机号
     */
    private String operatorPhone;

    /**
     * 操作时间
     */
    private Date operatorTime;

    /**
     * 备注
     */
    private String remark;

    public BadOrder(Integer brandId, Integer accountId, Long money, Integer businessType, Date badDateTime, Integer operatorId, String operatorName, String operatorPhone, Date operatorTime, String remark) {
        this.brandId = brandId;
        this.accountId = accountId;
        this.money = money;
        this.businessType = businessType;
        this.badDateTime = badDateTime;
        this.operatorId = operatorId;
        this.operatorName = operatorName;
        this.operatorPhone = operatorPhone;
        this.operatorTime = operatorTime;
        this.remark = remark;
    }
}
